#include<stdio.h>
int m(int a,int b,int c){
	int d;
	if(a>b)d=a;
	else d=b;
	if(d>c)d=d;
	else d=c;
	return d;
}
int main(){
	int a,b,c;
	scanf("%d%d%d",&a,&b,&c);
	printf("%d",m(a,b,c));
}